package com.laycoding.boot;


import com.laycoding.layrpc.annotation.EnableRpcClient;
import com.laycoding.layrpc.annotation.EnableRpcServer;
import com.laycoding.layrpc.annotation.LayRpcScan;
import com.laycoding.layrpc.handler.client.LayRpcClientRegistry;
import com.laycoding.layrpc.service.RpcService;
import com.laycoding.layrpc.service.RpcServiceImpl;
import org.omg.CORBA.PUBLIC_MEMBER;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.retry.annotation.EnableRetry;

@SpringBootApplication
@EnableRetry
//@EnableRpcServer(basePackage = "com.laycoding.boot.service")
@EnableRpcClient
@LayRpcScan(basePackage = "com.laycoding.common.service")
public class Application {
    public static void main(String[] args) {
        ApplicationContext run = SpringApplication.run(Application.class, args);

    }
}
